﻿Ext.define('ExtAppSystem.store.systemManagement.UserGridStore', {
    extend: 'Ext.data.Store',
	alias: 'widget.userGridStore',
    model: 'ExtAppSystem.model.systemManagement.UserModel',
	//autoLoad:true,
    proxy:{
    	type:'ajax',
    	url:'/systemManagement/listUserAction.action',
    	actionMethods : {
			read : 'POST'
		},
    	reader:{
    		type:'json',
    		root:'pager.data',
    		successProperty:'success',
    		totalProperty: 'pager.totalCount'
    	}
    },
     sorters: [{
        property: 'id',
        direction: 'DESC'
    }]
});
